home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d3
/
rettig.arc
/
TRSOURCE.EXE
/
DTOSS.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-10-22
|
372b
|
19 lines
/*********
* Function : DTOSS
* By : Tom Rettig
* Placed in the public domain by Tom Rettig Associates, 10/22/1990.
*
* Syntax: DTOSS( <expN> )
* Return: Numeric seconds from <expN> days.
*********/
#include "trlib.h"
TRTYPE dtoss()
{
if ( PCOUNT == 1 && ISNUM(1) )
_retnl( (long)(_parnd(1)*86400) );
else
_retnl( (long)ERROR );
}